getVolume

@FloatRange(from = 0.0, to = 1.0)
abstract fun getVolume(block: DesignBlock): Float

Get the audio volume of the given block.

Return

volume with a range of 0, 1.

Parameters

block

the block to query.